package com.yeshine.opendata.api.model;

import com.yeshine.opendata.utils.JsonUtil;

import java.util.Date;

/**
 * Created by taohj on 2014/9/23.
 */
public class Session {

    private String  id;

    private Date lastTime;

    private UserModel user;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    public UserModel getUser() {
        return user;
    }

    public void setUser(UserModel user) {
        this.user = user;
    }


    @Override
    public String toString() {
        return JsonUtil.toString(this);
    }



}
